package com.tarena.lbs.activity.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarena.lbs.activity.api.pojo.ActivityDto;
import com.tarena.lbs.activity.pojo.po.ActivityPO;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.model.Result;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Optional;

@Mapper
public interface ActivityMapper extends BaseMapper<ActivityPO> {

    List<ActivityVO> selectByBusinessId(Long businessId);

    ActivityPO selectById(Integer id);


}
